US president Barack Obama and Indian prime minister Narendra Modi agreed to deepen US-Indian cooperation in areas ranging from defense, trade and finance to infrastructure and smart cities development.